from rest_framework.viewsets import ModelViewSet
from rest_framework.response import Response
from student.models import StudentData
from student.utils.paginator import StuPageNumberPagination
from student.models import StuSerializer

class StuModelViewSet(ModelViewSet):
    queryset = StudentData.objects.all()
    serializer_class = StuSerializer
    parser_classes = [StuPageNumberPagination,]
